package com.junlong0716.enjoylearning.ui

import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import com.junlong0716.enjoylearning.R
import kotlinx.android.synthetic.main.activity_topic_detail.*
import kotlinx.android.synthetic.main.view_title_bar.*

class TopicDetailActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_topic_detail)
        rl_back.setOnClickListener {
            finish()
        }
        tv_title.text = intent.getStringExtra("TOPIC_TITLE")
        tv_detail.text = intent.getStringExtra("TOPIC_DETAIL")
    }
}
